package com.gopay.common.domain.acps;

import com.gopay.common.domain.BaseEntity;

import java.util.List;

/**
 * 账务单元；
 *
 * tranId唯一标识一次账务事务，账务系统根据tranId判重.
 *
 * @TranInfoBean.java
 * @author zhanglei
 * @2013-1-25 上午9:06:56 www.gopay.com.cn Inc.All rights reserved.
 */
public class TranInfoBean extends BaseEntity {
    private static final long serialVersionUID = -3722556242287152405L;
    private List<TranBean> trans;
    private String packageId;
    private String accType;//记账方式：S系统记账，M：手工记账
    private boolean forceAsyn = false; //强制异步入账,目前仅收款类懒猫用（acps不校验,冻结出款账户余额）
    /**
     * 对应的订单号
     */
    private String orderId;

    private String reqToken;
    private String isolationType;

    public List<TranBean> getTrans() {
        return trans;
    }

    public void setTrans(List<TranBean> trans) {
        this.trans = trans;
    }

    public String getPackageId() {
        return packageId;
    }

    public void setPackageId(String packageId) {
        this.packageId = packageId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getAccType() {
        return accType;
    }

    public void setAccType(String accType) {
        this.accType = accType;
    }

    public boolean isForceAsyn() {
        return forceAsyn;
    }

    public void setForceAsyn(boolean forceAsyn) {
        this.forceAsyn = forceAsyn;
    }

    public String getReqToken() {
        return reqToken;
    }

    public void setReqToken(String reqToken) {
        this.reqToken = reqToken;
    }

    public String getIsolationType() {
        return isolationType;
    }

    public void setIsolationType(String isolationType) {
        this.isolationType = isolationType;
    }
}
